Skip to content

Alternative to ..\{project}_Net45 folder side-side hack #1933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2016

Conversation

Mpdreamz
Copy link
Member

that allows to develop project.json (the toolchain that produces our
artifacts) and csproj files (the best interface for continuous tests
through NCrunch) in tandem.

The old separate folder hack introduces strict restrictions on our
csproj based solution, adding files was forbidden because this would
expand the wildcards in the csproj and the file would end up in the
wrong folder.

Normally this side by side loading is riddled with nuget biting into
both worlds but luckily we use paket in the csproj world.

We didn't go for this solution initially because NCrunch while not
supporting project.json, it did have an undocumented check for
project.json files to kick off a different project resolution. Since
NCrunch 2.20 (released yesterday) this "special" check is removed and
NCrunch loads our csproj files that live next to project.json normally
again.

Our default work solution can now be Elasticsearch.sln again, while our
command line build still builds Elasticsearch.DNX.sln and we can use the
latter to investigate CoreCLR bugs/features.

that allows to develop project.json (the toolchain that produces our
artifacts) and csproj files (the best interface for continuous tests
through NCrunch) in tandem.

The old separate folder hack introduces strict restrictions on our
csproj based solution, adding files was forbidden because this would
expand the wildcards in the csproj and the file would end up in the
wrong folder.

Normally this side by side loading is riddled with nuget biting into
both worlds but luckily we use paket in the csproj world.

We didn't go for this solution initially because NCrunch while not
supporting project.json, it did have an undocumented check for
project.json files to kick off a different project resolution. Since
NCrunch 2.20 (released yesterday) this "special" check is removed and
NCrunch loads our csproj files that live next to project.json normally
again.

Our default work solution can now be Elasticsearch.sln again, while our
command line build still builds Elasticsearch.DNX.sln and we can use the
latter to investigate CoreCLR bugs/features.
@Mpdreamz
Copy link
Member Author

@gmarz @russcam pulling this in to master and 2.x so I'm unblocked for the rest of the day. Please still review 😄

Mpdreamz added a commit that referenced this pull request Mar 21, 2016
Alternative to ..\{project}_Net45 folder side-side hack
@Mpdreamz Mpdreamz merged commit 4545e44 into master Mar 21, 2016
@gmarz
Copy link
Contributor

gmarz commented Mar 21, 2016

Awesome! LGTM 👍

@gmarz gmarz deleted the fix/same-folder-projects branch March 21, 2016 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants